package com.hzhr.iot.log.sdk.model.log;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "LogPostModel", description = "log资源模型(新增)")
public class LogPutModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    private Integer id;
    @ApiModelProperty(value = "说明 : 交易流水号 36位随机码", required = true)
    private String transactionId;
    @ApiModelProperty(value = "说明 : 交易类型 1 用户操作 2 数据同步", required = true)
    private String transactionType;
    @ApiModelProperty(value = "说明 : 是否存在异常 0 不存在 1 存在", required = true)
    private String existException;
    @ApiModelProperty(value = "说明 : 异常信息")
    private String exceptionInfo;
    @ApiModelProperty(value = "说明 : 服务名", required = true)
    private String serviceName;
    @ApiModelProperty(value = "说明 : 资源", required = true)
    private String uri;
    @ApiModelProperty(value = "说明 : HTTP方法 POST DELETE PUT PATCH GET", required = true)
    private String httpMethod;
    @ApiModelProperty(value = "说明 : HTTP请求体", required = true)
    private String httpReqBody;
    @ApiModelProperty(value = "说明 : HTTP响应码")
    private Integer httpRespCode;
    @ApiModelProperty(value = "说明 : HTTP响应体")
    private String httpRespBody;
    @ApiModelProperty(value = "说明 : 用户编号", required = true)
    private Integer userId;
    @ApiModelProperty(value = "说明 : 用户名称")
    private String userName;
    @ApiModelProperty(value = "说明 : 用户代码")
    private String userCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getExistException() {
        return existException;
    }

    public void setExistException(String existException) {
        this.existException = existException;
    }

    public String getExceptionInfo() {
        return exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public Integer getHttpRespCode() {
        return httpRespCode;
    }

    public void setHttpRespCode(Integer httpRespCode) {
        this.httpRespCode = httpRespCode;
    }

    public String getHttpRespBody() {
        return httpRespBody;
    }

    public void setHttpRespBody(String httpRespBody) {
        this.httpRespBody = httpRespBody;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getHttpReqBody() {
        return httpReqBody;
    }

    public void setHttpReqBody(String httpReqBody) {
        this.httpReqBody = httpReqBody;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
}

